package com.tpv.app.volley.demo.util;

import java.io.ByteArrayOutputStream;
import java.io.File;
import java.io.IOException;

public interface IBodyContent
{
    String getBodyStartBoundary();
    
    String getBodyBoundary();
    
    String getBodyEndBoundary();
    
    String getContentDisposition();
    
    String getName(String name);
    
    Object getValue(Object value);
    
    String getFileName(String fileName);
    
    String getFileName(File file);
    
    String getContentType(String contentType);
    
    String getLinesFeed();
    
    String getSemicolon();
    
    String getBodyContentType();
    
    String getFileSuffixName(File file);
    
    String getFileMimeType(String fileName);
    
    String getFileMimeType(File file);
    
    void writeParams(ByteArrayOutputStream bos, String params)throws IOException;
    
    void writeFile(ByteArrayOutputStream bos, File file)throws IOException;
    
    void writeEndBoundary(ByteArrayOutputStream bos)throws IOException;
}
